/**
 * ISSG Sony China 2011 
 *
 */
package cn.com.dragonsoftbravo.utils;

/**
 * Sony PSS Project Source Code Constants
 * 
 * @copyright Promoters Sell-thru System, ISSG, Sony China
 * @author William Shen
 * @date 2011-3-14
 */
public final class BaseWebConstants {

	/**
	 * user information key from session
	 * 
	 */
	public static final String LOGIN_USER_KEY = "LOGIN_USER";

	/**
	 * user code information
	 */
	public static final String LOGIN_USER_ID = "LOGIN_USER_ID";

	/**
	 * 
	 */
	public static final String STRUTS_TOKEN_NAME = "org.apache.struts.action.TOKEN";

	/**
	 * 
	 */
	public static final String RUNTIME_MODE_KEY = "DEVMODE";

	/**
	 * 
	 */
	public static final String ACCOUNT_KEY = "psAccount";

	public static final int NORMAL_STATUS = 0;

	public static final int DEPT_EXPIRED = -1;

	public static final int PASSWORD_EXPIRED = -2;

	public static final int SESSION_TIMOUT = -3;

	public static final int ERROR_NOUSER = -4;

	public static final String COOKIE_AUTH_TAG = "PssAuthTag";

	public static final String COOKIE_AUTH_SUM = "PssAuthSum";
	
}
